package com.uni.crawl.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.uni.crawl.model.entity.crawl.CrawlMonitor;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 爬虫监控 Mapper 接口
 * </p>
 *
 * @author JervisPG
 * @since 2024-02-14
 */
@Mapper
public interface CrawlMonitorMapper extends MPJBaseMapper<CrawlMonitor> {

    @InterceptorIgnore(tenantLine = "true")
    CrawlMonitor getOneByUrlMd5(@Param("urlMd5") String urlMd5);
}
